<?php

//process posted form data
if(!empty($_POST['category'])) {
   
	$category = trim(strip_tags($_POST['category']));
	$storeID = trim(strip_tags($_POST['storeID']));
       
	include 'productClass.php';
        $pr=new Product();
        $pr->displayProductsByCategory($storeID, $category);
	
}
 
?>